package edu.hnzj.util;

import java.io.Serializable;

public class JsonResult<T> implements Serializable{

	private int status;//返回数据的状态：0 登录成功；1：账号不存在；2：密码错误
	private String msg;//错误的提示信息
	private T Data;//返回的数据
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getData() {
		return Data;
	}
	public void setData(T data) {
		Data = data;
	}
	@Override
	public String toString() {
		return "JsonResult [status=" + status + ", msg=" + msg + ", Data=" + Data + "]";
	}
	
	
}
